<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//后台首页
Route::get('/admincp', 'Admin\IndexController@index');
//登录，注册，找回密码
//Route::get('/logincp', 'Admin\LoginController@index');//登录页
Route::get('/logincp', function () {
    return view('admin.login');
});
Route::post('/loginUp', 'Admin\LoginController@loginUp');//认证登录信息
Route::get('/loginOut', 'Admin\LoginController@loginOut');//
Route::get('/registerUp', 'Admin\LoginController@registerUp');
Route::get('/forgetPwdUp', 'Admin\LoginController@forgetPwdUp');

//网站说明
Route::get('/netBase', 'Admin\AboutBackNetController@Base');//进入平台默认页面
Route::get('/netback', 'Admin\AboutBackNetController@index');//网站说明--关于后台  
Route::get('/statistics', 'Admin\AboutBackNetController@statistics');//访问统计
Route::get('/dataBackup', 'Admin\AboutBackNetController@dataBackup');//数据备份
Route::get('/SiteConfiguration', 'Admin\AboutBackNetController@SiteConfiguration');//网站配置
Route::get('/kefu', 'Admin\AboutBackNetController@Kefu');
Route::post('/kefuUp', 'Admin\AboutBackNetController@KefuUp');
Route::post('/SiteConfigurationUp', 'Admin\AboutBackNetController@SiteConfigurationUp');//Logo上传
Route::get('/AccessLog', 'Admin\AboutBackNetController@AccessLog');//访问日志

//分类
Route::get('/Categoryindex', 'Admin\CategoryController@index');
Route::get('/Categoryadd', 'Admin\CategoryController@add');
//Route::post('/CategoryaddUpOne', 'Admin\CategoryController@addUpOne');
Route::post('/CategoryaddUpTwo', 'Admin\CategoryController@addUpTwo');
//Route::post('/CategoryaddUpThree', 'Admin\CategoryController@addUpThree');
Route::post('/Categorydel', 'Admin\CategoryController@del');
Route::get('/Categoryedit', 'Admin\CategoryController@edit');
Route::get('/Categorysearch', 'Admin\CategoryController@search');
Route::get('/Test', 'Admin\CategoryController@test');

//新闻
Route::get('/NewSee', 'Admin\NewsController@index');
Route::post('/NewUp', 'Admin\NewsController@NewUp');
Route::get('/Newadd', 'Admin\NewsController@Newadd');
Route::post('/Newdel', 'Admin\NewsController@Newdel');
Route::get('/NewEdit', 'Admin\NewsController@NewEdit');
Route::post('/NewEditUp', 'Admin\NewsController@NewEditUp');
Route::get('/New_', 'Admin\NewsController@New_');

//推广应用
Route::get('/pushLogo', 'Admin\PushController@logoIndex');

//关于我们
Route::get('/aboutIndex', 'Admin\AboutUsController@index');
Route::get('/aboutList', 'Admin\AboutUsController@list');
Route::get('/aboutdel', 'Admin\AboutUsController@del');
Route::get('/aboutedite', 'Admin\AboutUsController@edite');
Route::post('/aboutediteUp', 'Admin\AboutUsController@editeUp');

//推广应用
Route::get('/ComPushVido', 'Admin\ComPushController@vido');
Route::get('/ComPushLogo', 'Admin\ComPushController@Logo');
Route::post('/ComPushLogoUp', 'Admin\ComPushController@LogoUp');
Route::get('/ComPushApplicatoin', 'Admin\ComPushController@Applicatoin');

//留言管理
Route::get('/LiuyanList', 'Admin\LiuyanController@LiuyanList');
Route::post('/Liuyandel', 'Admin\LiuyanController@Liuyandel');

//产品管理 
Route::get('/Goodslist', 'Admin\GoodsController@list_');
Route::get('/Goodsadd', 'Admin\GoodsController@add');
Route::get('/Goodsedite', 'Admin\GoodsController@edite');
Route::post('/Goodsaddup', 'Admin\GoodsController@addup');
Route::post('/Goodsupdateup', 'Admin\GoodsController@updateup');
Route::post('/Goodsdel', 'Admin\GoodsController@del');
Route::get('/Goodsindex', 'Admin\GoodsController@index');
Route::post('/GoodsupDown', 'Admin\GoodsController@upDown');

//案例
Route::get('/Anlicategory', 'Admin\AnliController@category');//案例-分类list
Route::get('/Anlicategoryadd', 'Admin\AnliController@categoryadd');//案例-添加分类
Route::post('/Anlicategoryup', 'Admin\AnliController@categoryup');//案例-添加分类上传
Route::post('/Anlicategorydel', 'Admin\AnliController@categorydel');//案例-添加分类删除

Route::get('/AnliList', 'Admin\AnliController@index');
Route::get('/Anliindexadd', 'Admin\AnliController@indexadd');
Route::post('/AnliindexaddUp', 'Admin\AnliController@indexaddUp');
Route::get('/Anliindexedite', 'Admin\AnliController@indexedite');
Route::post('/AnliindexediteUp', 'Admin\AnliController@indexediteUp');
Route::post('/Anliindexdel', 'Admin\AnliController@del');
Route::get('/Anliindexdetial', 'Admin\AnliController@detial');

//下载
Route::get('/downList', 'Admin\DownController@index');
Route::get('/downAdd', 'Admin\DownController@indexadd');
Route::post('/downAddUp', 'Admin\DownController@indexaddUp');
Route::get('/Downindexdetial', 'Admin\DownController@detial');
Route::post('/downdel', 'Admin\DownController@del');

Route::get('/Downcategory', 'Admin\DownController@category');//案例-分类list
Route::get('/Downcategoryadd', 'Admin\DownController@categoryadd');//案例-添加分类
Route::post('/Downcategoryup', 'Admin\DownController@categoryup');//案例-添加分类上传
Route::post('/Downcategorydel', 'Admin\DownController@categorydel');//案例-添加分类删除

//滚动图片
Route::get('/scrollindex', 'Admin\ScrollController@index');
Route::post('/scrollindexUp', 'Admin\ScrollController@editeUp');

//技术支持
Route::get('/TechnicalSee', 'Admin\TechnicalController@index');
Route::post('/TechnicalUp', 'Admin\TechnicalController@NewUp');
Route::get('/Technicaladd', 'Admin\TechnicalController@Newadd');
Route::post('/Technicaldel', 'Admin\TechnicalController@Newdel');
Route::get('/TechnicalEdit', 'Admin\TechnicalController@NewEdit');
Route::post('/TechnicalEditUp', 'Admin\TechnicalController@NewEditUp');
Route::get('/Technical_', 'Admin\TechnicalController@New_');
Route::get('/foo', function () {
    return 'Hello World';
});



//////前台路由
Route::get('/index', 'Reception\IndexController@index');
Route::get('/', 'Reception\IndexController@index');
Route::get('/aboutSee', 'Reception\AboutSeeController@index');//关于我们详情查看
Route::get('/newSee', 'Reception\NewSeeController@index');//新闻详情查看
Route::get('/TechnicalSeeR', 'Reception\TechnicalSeeController@index');//新闻详情查看
//Route::get('/Synopsis', 'Reception\SynopsisController@index');//新闻详情查看
//Route::get('/Recruit', 'Reception\RecruitController@index');//人才招聘
//Route::get('/Contact', 'Reception\ContactController@index');//联系我们
Route::get('/Luiyan', 'Reception\LuiyanController@index');//留言查看
Route::post('/LuiYanUp', 'Reception\LuiyanController@LuiYanUp');//留言添加
Route::get('/news', 'Reception\NewsController@index');//新闻资讯
Route::post('/newsget', 'Reception\NewsController@getIndex');//新闻资讯,分类获取
Route::get('/downs', 'Reception\DownsController@index');//资料下载
Route::post('/downsget', 'Reception\DownsController@getIndex');//资料下载,分类获取

Route::get('/cases', 'Reception\CasesController@index');//成功案例列表
Route::post('/casesget', 'Reception\CasesController@getIndex');//获取成功案例某个列表
Route::get('/casesee', 'Reception\CasesController@caseSee');//成功案例列表

//－－－－前台产品信息
Route::get('/product', 'Reception\ProductController@index');
Route::post('/productGet', 'Reception\ProductController@getIndex');
Route::get('/ProductSee', 'Reception\ProductController@ProductSee');

//英文
Route::get('/indexen', 'ReceptionEN\IndexController@index');